/*
 * @Author       : 邱狮杰
 * @Date         : 2021-09-03 15:07:12
 * @LastEditTime : 2021-09-08 15:19:16
 * @FilePath     : /smallnewhope/src/config/index.ts
 * @Description  :
 */

import axios, { AxiosRequestConfig } from 'axios'

export function http(config: AxiosRequestConfig) {
	// https://act.yoois.com/zt/qr2/api.php?i=3&logout=1&action=index
	const conf = axios.create({
		baseURL: "/zt/qr2/api.php",
		timeout: 10000
	})
	return conf(config)
}

